package com.connector.base.protocol;

public enum Command
{
    UNKNOWN(0), 
    HEARTBEAT(1), 
    HANDSHAKE(2), 
    LOGIN(3), 
    LOGOUT(4), 
    KICK(5), 
    CHAT(6), 
    CANCEL(7), 
    PUSH(8), 
    HTTP(9), 
    OK(10), 
    ERROR(11), 
    HANDSHAKECHECK(12);
    
    public final byte cmd;
    
    private Command(final int cmd) {
        this.cmd = (byte)cmd;
    }
}
